initialize

suspend fun initialize(context: Context, platformConfiguration: PlatformConfiguration? = null, loggerConfiguration: Logger.LoggerConfiguration? = null)

Initialize the MobileCredentialVerifier SDK.

Parameters

context

Android Context. Not retained.

platformConfiguration

Optional parameter to config platform-specific settings.

loggerConfiguration

Optional parameter to config the logger behavior.

Throws

If the SDK API is called before the SDK is initialized.

If something wrong happens during storage initialization.